import 'babel-polyfill'
import Vue from 'vue'
import VueRouter from 'vue-router'
import Iview from 'iview'

import router from './router'
import store from './store'
import App from './App'

import 'iview/dist/styles/iview.css'
import 'common/scss/index'

import BaseTitle from 'base/BaseTitle/BaseTitle'

Vue.use(VueRouter)
Vue.use(Iview)

Vue.component('BaseTitle', BaseTitle)

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
